FROM alpine:3.12

RUN apk add --update --no-cache ca-certificates git \
    && adduser -D -u 1000 jx

USER 1000

COPY ./bin/jenkins-controller /home/jx/
ENTRYPOINT ["/home/jx/jenkins-controller"]
